<template>
	<view>
		<product-item-four
			v-for="(item, index) in list"  :key="item.productClusterId"
			:src="item.thumbnail"
			:dSrc="item.promotions ? item.promotions[0].picturesUrl : null"
			:title="item.title"
			:titleLabel="item.promotions ? item.promotions[0].label : null"
			:discount="item.discount"
			:originalPrice="item.originalPriceString ? '¥' + item.originalPriceString : null"
			:price="item.priceString ? '¥' + item.priceString : null"
			:entrance="item.entrance"
		/>
	</view>
</template>

<script>
	export default {
		props: {
			list: {
				type: Array,
				default: () => []
			}
		},
		data() {
			return {
				
			};
		},
	}
</script>

<style>

</style>
